package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 序列对象 pacs_series
 * 
 * @author ruoyi
 * @date 2025-03-09
 */
public class PacsSeries extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 机构ID */
    @Excel(name = "机构ID")
    private Long deptId;

    /** 病人Id */
    @Excel(name = "病人Id")
    private Long patId;

    /** 检查ID */
    @Excel(name = "检查ID")
    private Long studyId;

    /** 设备 */
    @Excel(name = "设备")
    private String modality;

    /** 部位 */
    @Excel(name = "部位")
    private String bodyPart;

    /** 序列描述 */
    @Excel(name = "序列描述")
    private String seriesDesc;

    /** 序列ID */
    @Excel(name = "序列ID")
    private String seriesIuid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long fileCount;

    /** 序列号 */
    @Excel(name = "序列号")
    private String seriesNo;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String thumbnail;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setPatId(Long patId) 
    {
        this.patId = patId;
    }

    public Long getPatId() 
    {
        return patId;
    }

    public void setStudyId(Long studyId) 
    {
        this.studyId = studyId;
    }

    public Long getStudyId() 
    {
        return studyId;
    }

    public void setModality(String modality) 
    {
        this.modality = modality;
    }

    public String getModality() 
    {
        return modality;
    }

    public void setBodyPart(String bodyPart) 
    {
        this.bodyPart = bodyPart;
    }

    public String getBodyPart() 
    {
        return bodyPart;
    }

    public void setSeriesDesc(String seriesDesc) 
    {
        this.seriesDesc = seriesDesc;
    }

    public String getSeriesDesc() 
    {
        return seriesDesc;
    }

    public void setSeriesIuid(String seriesIuid) 
    {
        this.seriesIuid = seriesIuid;
    }

    public String getSeriesIuid() 
    {
        return seriesIuid;
    }

    public void setFileCount(Long fileCount) 
    {
        this.fileCount = fileCount;
    }

    public Long getFileCount() 
    {
        return fileCount;
    }

    public void setSeriesNo(String seriesNo) 
    {
        this.seriesNo = seriesNo;
    }

    public String getSeriesNo() 
    {
        return seriesNo;
    }

    public void setThumbnail(String thumbnail) 
    {
        this.thumbnail = thumbnail;
    }

    public String getThumbnail() 
    {
        return thumbnail;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("patId", getPatId())
            .append("studyId", getStudyId())
            .append("modality", getModality())
            .append("bodyPart", getBodyPart())
            .append("seriesDesc", getSeriesDesc())
            .append("seriesIuid", getSeriesIuid())
            .append("fileCount", getFileCount())
            .append("seriesNo", getSeriesNo())
            .append("thumbnail", getThumbnail())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
